/**
 * Copyright (C) 2009-2012, KingHool.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses.
 */
package com.kinghool.smodel.test;

import com.kinghool.smodel.io.bean.annotation.Bean;
import com.kinghool.smodel.io.bean.annotation.Exclude;
import com.kinghool.smodel.io.bean.annotation.Text;

/**
 * 
 * @Author Allen Deng(dengtailin@gmail.com)
 */
@Bean(name = "address")
public class Address {
	@Text(child="province")
	private String province;
	
	@Text(child="city")
	private String city;
	
	@Text(child="street")
	private String street;
	
	@Exclude
	private Customer customer;

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
  
	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

}
